<div class="col-center criteria-col-item" cid="<?php echo $atid; ?>">
    <label class="col-center-title"><?php echo $criteria_title; ?></label>
    <div class="col-center-child">
        <div class="col-search-criteria">
            <div class="col-search-criteria-selected">
                <ul>

                </ul>
            </div>
            <div class="col-search-criteria-header">
                <span>Search criteria</span>
            </div>
            <div class="col-search-criteria-body" style="display: none">
                <ul>
                    <?php
                        if(isset($data)){
                            foreach($data as $value){
                                ?>
                                    <li id="criteria_item_<?php echo $value['atid']; ?>" tag="<?php echo $value['attr_tag']; ?>">
                                        <div class="col-search-criteria-parent">
                                            <?php
                                                if(isset($value['children'])){
                                                    echo '<span class="icon"><i class="fa fa-caret-right"></i></span>';
                                                }
                                            ?>
                                            <span class="text"><?php echo $value['attr_name']; ?></span>
                                        </div>
                                        <?php
                                            if(isset($value['children'])){
                                            ?>
                                                <ul class="col-search-criteria-child">

                                                </ul>
                                            <?php
                                            }
                                        ?>
                                    </li>
                                <?php
                            }
                        }
                    ?>

                    <!--<li>
                        <div class="col-search-criteria-parent">
                            <span class="icon"><i class="fa fa-caret-right"></i></span>
                            <span class="text">Đau lưng</span>
                        </div>
                        <ul class="col-search-criteria-child">
                            <li>
                                <div class="col-search-criteria-parent">
                                    <span class="icon"><i class="fa fa-caret-right"></i></span>
                                    <span class="text">Đau lưng</span>
                                </div>
                            </li>
                        </ul>
                    </li>-->

                    <!--<li>
                        <div class="col-search-criteria-parent">
                            <span class="icon"><i class="fa fa-caret-right"></i></span>
                            <span class="text">Đau chân</span>
                        </div>
                    </li>
                    <li>
                        <div class="col-search-criteria-parent">
                            <span class="icon"><i class="fa fa-caret-right"></i></span>
                            <span class="text">Đau đầu gối</span>
                        </div>
                    </li>-->
                </ul>
            </div>
        </div>
    </div>
    <span class="remove-criteria"><i class="fa fa-times"></i></span>
</div>